﻿namespace SampleMvcApplication.Blades {
    using MvcTurbine;
    using MvcTurbine.Blades;

    public class CustomBlade : Blade {
        public CustomBlade(BladeDependency dependency) {
            Dependency = dependency;
        }

        public BladeDependency Dependency { get; set; }

        public override void Spin(IRotorContext context) {
            Dependency.DoWork();
        }
    }
}